<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%> 
<html>
<head>  
  <script type="text/javascript">
  function doSearch() {	 
	  grid.load({
			channel_grp: $('#channel_grp').val()						
		});
  }
  
  function addInfchngrp(url){	  
	  commonDetail(url,"save","infchngrpTableId");
  }
  function modifyInfchngrp(url){	  
	  commonDetail(url,"update","infchngrpTableId");
  }
  function deleteInfchngrp(url){	  
	  commonDel(url,"delete","infchngrpTableId");
  }
  var grid;
  $(document).ready(function() {
	  grid = $("#infchngrpTableId").jpgrid({
			url: "getInfChnGrpListJson.do",
			columns: [
				{title: "通道组别", field: "CHNGRPNAME"},
				{title: "通道名称", field: "CHNNAME"},
				{title: "优先级", field: "PRIORITY",width:80}				
			]
		});	  
  });
  </script>
</head>

<body class="easyui-layout list_body"  >
	<form id="infchngrpForm" name="infchngrpForm">
		<div class="list_body_north" data-options="region:'north'"  border="false" >
			<!-- 查询表单 -->
			<div  class="datagrid-toolbar" border="false"  >
				<span>通道组别编号:</span>
				<input id="channel_grp" type="text" name="channel_grp"  class="easyui-textbox"  >					
			 	<a href="#" class="easyui-linkbutton btn" iconCls="icon-search" onclick="doSearch() ">查询</a>
			 	<a href="#" class="easyui-linkbutton btn" iconCls="icon-reload" onclick="resetForm() ">重置</a>				
			</div>
			<!-- 自定义标签工具栏 -->
			<jiepos:buttonOperateTag menuCode="${menuCode}"></jiepos:buttonOperateTag>	
		</div>
		<div data-options="region:'center'" border="false"  class="list_body_center">		
			<!-- 表格 -->
			<table id="infchngrpTableId" fit="true"></table>
		</div>
	</form>
</body>
 </html>
